﻿using System;

namespace ARchGL.Platform.Authorization.Users.Dto
{
    public class UserLoginAttemptDto
    {
        public string TenancyName { get; set; }

        public long? UserId { get; set; }

        public string UserNameOrEmailAddress { get; set; }

        public string ClientIpAddress { get; set; }

        public string ClientName { get; set; }

        public string BrowserInfo { get; set; }

        public string Result { get; set; }

        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 创建时间戳
        /// </summary>
        public long CreationUniversalTime { get { return CreationTime.ToUnixTimestamp(); } }
    }
}
